import { MockAjax } from "@/mockApi/MockAjax";

const dataMessage = [
  {
    date: "AppleiPhone 11",
    name: "手机",
    address: 1,
    sale: 8199,
  },
  {
    date: "Xiaomi小米电视",
    name: "家电",
    address: 26,
    sale: 18678,
  },
  {
    date: "米家扫拖机器",
    name: "家电",
    address: 82,
    sale: 10766,
  },

  {
    date: "限量版迈凯轮",
    name: "汽车",
    address: 20,
    sale: 6787172,
  },
  {
    date: "AppleiPhone 11",
    name: "手机",
    address: 1,
    sale: 5001,
  },
  {
    date: "vivo电视",
    name: "家电",
    address: 36,
    sale: 18767,
  },
  {
    date: "扫拖机器",
    name: "家电",
    address: 86,
    sale: 13768,
  },
  {
    date: "美国短毛狗",
    name: "宠物活体",
    address: 12,
    sale: 37665,
  },
  {
    date: "限量版法拉利",
    name: "汽车",
    address: 5,
    sale: 87976762,
  },
];

const Paim = new MockAjax("图表数据");

Paim.initTable(dataMessage);

export { Paim };
